package com.smart.model.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author zhanghong
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel("运营人员更新密状态请求模型")
public class OperateUserUpDateStatusRequest implements Serializable {
    @NotNull(message = "用户id不能为空")
    @ApiModelProperty("用户id")
    private Long id;
    @NotEmpty(message = "状态不能为空")
    @ApiModelProperty("状态 ENABLE-启用、DISABLE-禁用")
    private String status;
}
